package com.homedo.microservice.distributed.id.service.api;

import com.homedo.microservice.distributed.id.service.api.constant.RemoteService4DistributedIdServiceServiceConstant;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;


@Api(value = "监控操作接口", description = "监控操作接口")
@RequestMapping(RemoteService4DistributedIdServiceServiceConstant.SERVICE_ID)
public interface IGenerateMonitorServiceRemote {

    @GetMapping("monitor/cache")
    Object getCache();

    @GetMapping("monitor/db")
    Object getDb();
}
